SCRIPT:DTP to EMAIL         |This is the name of the script
{REMOVE MANY SPACES}        |This turns multiple spaces into one space
{REMOVE SMART QUOTES}       |This changes sexed quotes to straight quotes
{REMOVE MANY NEW LINES}     |This turns multiple line feeds into two of them
{REMOVE MANY TABS}          |This turns multiple tabs into one tab
[9]:[32]                    |This turns the tab-character to a space
[160]:[32]                  |This turns a hard space into a normal one
:-                         |Bullet to hyphen
:.                         |Decimal point to full stop
[135]:...                   |Ellipse to three full stops
:-                         |Minus to hyphen
:-                         |m-dash to hyphen
:-                         |n-dash to hyphen
:fi                        |ligature to fi
:fl                        |ligature to fl
[136]:EURO[32]              |Euro-sign to EURO + space
|This is the end of the second script

|Blank lines can be used for better legibility




SCRIPT:EMAIL to DTP
{REMOVE MANY SPACES}
{REMOVE MANY NEW LINES}
{JOIN BROKEN LINES}

{Sexed quotes}

[10]-[32]:[10][32]
...:[135]
fi:
fl:

[32]-[32]:[32][153][32]
[10][32]:[10]
EURO :[136]
>[32]:




SCRIPT:Archive~line
{nextstory }:
:fi
:fl

{REMOVE SMART QUOTES}
{REMOVE MANY NEW LINES}
{REMOVE MANY SPACES}

[10]:[10]16.11[10]
[160]:[32]
[173]:-
[151]:-
[32][10]:[10]



SCRIPT:Wildcards1
[9]#.[32]:[9][32]
[9]##.[32]:[9][32]
[9]###.[32]:[9][32]

costs ## pounds.:costs ##.
costs #### pounds.:costs ####.
costs ###### pounds.:costs ######.




SCRIPT:Wildcards2
[9]*.[32]:[9][32]
costs * pounds.:costs *.



SCRIPT:Multi wildcards~line
Customer *, *, * article b###, for the amount of * pound.:Customer (name): *, (city): *, happily * article C###, for *.







INVISIBLE SCRIPTS


SCRIPT:Sexed quotes
{SMART QUOTES}
m :m 
n :n 
r :r 
s :s 
t :t 



SCRIPT:Predefined commands    |This is the name of the script
{JOIN BROKEN LINES}           |This joins lines that are separated by line feeds
{SMART QUOTES}                |This turns straight quotes into sexed quotes
{REMOVE SMART QUOTES}         |This turns sexed quotes into straight quotes
{REMOVE MANY SPACES}          |This turns multiple spaces into just one space
{REMOVE MANY NEW LINES}       |This turns multiple line feeds into two of them
{REMOVE MANY TABS}            |This turns multiple tabs into just one tab
{FLIP DATE}                   |This turns dates, such as 23-03-1955, into 1955-03-23
{SWOP CASE}	              |This tuns lower case characters to upper case and vice versa    
{LOWER CASE}		      |This turns all characters to lower case
{UPPER CASE}		      |This turns all characters to upper case
{FIRST CAPS}                  |This turns all characters to lower case, except the first one
{EXPOSURETIME}		      |This will turn bizarre EXIF exposure times into a 1/x format
{ENSURE LEADING BLANK LINE}   |This will add a blank line at the top of the file, if not already                               there
{REMOVE LEADING BLANK LINE}   |This will remove a leading blank line, if there is one
{REMOVE x LEADING LINES}      |This will remove the x leading lines, with a maximum of 100
{REMOVE x BOTTOM LINES}       |This will remove the x bottom lines, with a maximum of 100
{REMOVE TRAILING BLANK LINES} |This will, surprisingly, remove all trailing blank lines
|This is the end of the scriptfile